package com.source.baseData.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Feng
 * @since 2021/3/1 13:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="去向市场")
public class ToMarketVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "slaughterHouseId", type = IdType.ASSIGN_UUID)
    private String slaughterHouseId;

    @ApiModelProperty(value = "去向市场名称")
    @TableField("slaughterHouseName")
    private String slaughterHouseName;

    @ApiModelProperty(value = "详细地址")
    @TableField("addr")
    private String addr;

    @ApiModelProperty(value = "市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "区")
    @TableField("district")
    private String district;

    @ApiModelProperty(value = "去向市场二维码")
    @TableField("slaughterHouseCode")
    private String slaughterHouseCode;

    @ApiModelProperty(value = "省")
    @TableField("province")
    private String province;

    @ApiModelProperty(value = "去向市场档口二维码")
    @TableField("stallCode")
    private String stallCode;

    @ApiModelProperty(value = "去向市场档口名称")
    @TableField("stallName")
    private String stallName;

    @ApiModelProperty(value = "创建日期")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "纬度")
    @TableField("marketLatitude")
    private String marketLatitude;

    @ApiModelProperty(value = "经度")
    @TableField("marketLongitude")
    private String marketLongitude;

    @ApiModelProperty(value = "负责人ID")
    @TableField("userId")
    private String userId;

    @ApiModelProperty(value = "负责人姓名")
    @TableField("userName")
    private String userName;

    @ApiModelProperty(value = "状态（0已删1正常2发布待审核3删除待审核）")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;


}